package com.ysstech.reportworld.service;

import com.ysstech.common.entity.PageBean;
import com.ysstech.reportworld.entity.Table;
import com.ysstech.reportworld.entity.TableStandardCheck;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 报表世界表校验规则 服务类
 * </p>
 *
 * @author lishuangliang
 * @since 2023-01-18
 */
public interface TableStandardCheckService extends IService<TableStandardCheck> {

    /**
     * 获取表校验规则信息
     *
     * @param tableStandardCheck
     * @param pageBean
     * @return
     * @throws Exception
     */
    public PageBean<TableStandardCheck> queryAllTableStandardCheck(TableStandardCheck tableStandardCheck, PageBean pageBean) throws Exception;

    /**
     * 表的校验
     *
     * @param isDetail 是否检查表有明细信息
     * @return
     * @throws Exception
     */
    public void tableStandardCheckInfo(List<Table> list, boolean isDetail) throws Exception;

    /**
     * 表的校验
     *
     * @param isDetail 是否检查表有明细信息
     * @param table
     * @throws Exception
     */
    public void tableStandardCheckInfo(Table table, boolean isDetail) throws Exception;
}
